<include file="public@header" />
</head>
    <link href="__STATIC__/js/bootstrap-datetimepicker/css/bootstrap-datetimepicker.css" rel="stylesheet" type="text/css">
<body>
	<div class="wrap js-check-wrap">
    	<form class="well form-inline margin-top-20" method="post" action="{:url('hiden/index')}" >
            只显示月:
        <input type="text" class="form-control form_datetime_2" readonly id="month_time" value=""/>   
         只显示年:
        <input type="text" class="form-control form_datetime_1" readonly id="year_time" value=""/>    
        </form>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
	 <script src="__STATIC__/js/bootstrap-datetimepicker/js/bootstrap-datetimepicker.js"></script>
    <script src="__STATIC__/js/bootstrap-datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"></script>
	<script type="text/javascript">       		
       $(".form_datetime_2").
    datetimepicker({
        language:  'zh-CN',
        format: 'yyyy-mm',
        autoclose: true,
        todayBtn: true,
        startView: 'year',
        minView:'year',
        maxView:'decade'
        });
     $(".form_datetime_1").
    datetimepicker({
        language:  'zh-CN',
        format: 'yyyy',
        autoclose: true,
        todayBtn: true,
        startView: 'decade',
        minView:'decade',
        maxView:'decade'
        });
	</script>
</body>
</html>